package com.bd.scm.domain.models.weds;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class MjMobileEntity implements Serializable
{
  @ApiModelProperty(required=true, dataType="int", example="-1", value="")
  private Integer xh;
  @ApiModelProperty(required=true, dataType="string", example="测试", value="人员序号")
  private Long userSerial;
  @ApiModelProperty(required=true, dataType="int", example="-1", value="")
  private Integer lx;
  @ApiModelProperty(required=true, dataType="string", example="测试", value="门编号")
  private String gateBh;
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
  @ApiModelProperty(required=true, dataType="string", example="2018-12-22 15:00:34", value="")
  private Date sj;
  @ApiModelProperty(required=true, dataType="string", example="测试", value="")
  private String glyNo;
  @ApiModelProperty(required=true, dataType="int", example="-1", value="门顺序号")
  private Integer gateOrder;
  @ApiModelProperty(required=true, dataType="string", example="测试", value="门名称")
  private String doorName;
  private static final long serialVersionUID = 1L;
  
  public String getDoorName()
  {
    return this.doorName;
  }
  
  public void setDoorName(String doorName)
  {
    this.doorName = doorName;
  }
  
  public Integer getXh()
  {
    return this.xh;
  }
  
  public MjMobileEntity withXh(Integer xh)
  {
    setXh(xh);
    return this;
  }
  
  public void setXh(Integer xh)
  {
    this.xh = xh;
  }
  
  public Long getUserSerial()
  {
    return this.userSerial;
  }
  
  public MjMobileEntity withUserSerial(Long userSerial)
  {
    setUserSerial(userSerial);
    return this;
  }
  
  public void setUserSerial(Long userSerial)
  {
    this.userSerial = userSerial;
  }
  
  public Integer getLx()
  {
    return this.lx;
  }
  
  public MjMobileEntity withLx(Integer lx)
  {
    setLx(lx);
    return this;
  }
  
  public void setLx(Integer lx)
  {
    this.lx = lx;
  }
  
  public String getGateBh()
  {
    return this.gateBh;
  }
  
  public MjMobileEntity withGateBh(String gateBh)
  {
    setGateBh(gateBh);
    return this;
  }
  
  public void setGateBh(String gateBh)
  {
    this.gateBh = gateBh;
  }
  
  public Date getSj()
  {
    return this.sj;
  }
  
  public MjMobileEntity withSj(Date sj)
  {
    setSj(sj);
    return this;
  }
  
  public void setSj(Date sj)
  {
    this.sj = sj;
  }
  
  public String getGlyNo()
  {
    return this.glyNo;
  }
  
  public MjMobileEntity withGlyNo(String glyNo)
  {
    setGlyNo(glyNo);
    return this;
  }
  
  public void setGlyNo(String glyNo)
  {
    this.glyNo = glyNo;
  }
  
  public Integer getGateOrder()
  {
    return this.gateOrder;
  }
  
  public MjMobileEntity withGateOrder(Integer gateOrder)
  {
    setGateOrder(gateOrder);
    return this;
  }
  
  public void setGateOrder(Integer gateOrder)
  {
    this.gateOrder = gateOrder;
  }
}
